<template>
  <div class="home">
    <nav class="homenav">
      <ul>
        <li>
          <router-link to="/home/products">产品列表</router-link>
        </li>
      </ul>
    </nav>
    <div class="homeright">
      <router-view></router-view>
    </div>
  </div>
</template>

<script>

export default {
  name: "HomeView",
  components: {},
};
</script>

<style lang="less" scoped>
.home {
  display: flex;
  .homenav {
    width: 200px;
    background-color: #a7a7a7;
    height: 100vh;
    li {
      line-height: 60px;
      text-align: center;
      background-color: #cecece;
      border-bottom: 1px dashed #fff;
      a {
        text-decoration: none;
        font-size: 22px;
        color: #fff;
      }
    }
  }
  .homeright {
    flex: 1;
  }
}
</style>
